package com.nuoniu.sibanyun.entity.crm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 网站图片配置
 * </p>
 *
 * @author baiqiang
 * @since 2020-07-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("crm_web_img")
@ApiModel(value="CrmWebImg对象", description="网站图片配置")
public class CrmWebImg extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "图片地址")
    @TableField("img_url")
    private String imgUrl;

    @ApiModelProperty(value = "0登录页轮播 1banner 2其他")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "图片宽度px")
    @TableField("width")
    private String width;

    @ApiModelProperty(value = "图片高度px")
    @TableField("height")
    private String height;

    @ApiModelProperty(value = "0正常 1删除 2停用")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建日期")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "修改日期")
    @TableField("update_date")
    private LocalDateTime updateDate;


}
